import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import YouTao from '@/components/YouTao'
import MyTest from '@/components/MyTest'
import MyButton from '@/components/MyButton'
import MyTable from '@/components/MyTable'
import MyTableFastMock from '@/components/MyTableFastMock'
import Department from '@/components/Department'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/youT',
      name: 'YouTao',
      component: YouTao
    },{
      path: '/test',
      name: 'MyTest',
      component: MyTest
    },{
      path: '/button',
      name: 'MyButton',
      component: MyButton
    },{
      path: '/table',
      name: 'MyTable',
      component: MyTable
    },{
      path: '/fastmock',
      name: 'MyTableFastMock',
      component: MyTableFastMock
    },{
      path: '/depart',
      name: 'Department',
      component: Department
    },
  ]
})
